package org.emet.dao.storage;

import org.emet.entity.storage.Item;
import org.emet.jee.core.dao.arch.ArchDataSourceBaseDao;
import org.springframework.stereotype.Repository;

@Repository
public class ItemDao extends ArchDataSourceBaseDao<Item, Long> {

	public Item getByCode(String itemCode) {
		return findUniqueBy("code", itemCode);
	}

}
